package com.yxh.dao;

import com.yxh.pojo.Unit;

import java.util.List;
import java.util.Map;

public interface UnitMapper {
    int deleteByPrimaryKey(String id);

    int insert(Unit record);

    int insertSelective(Unit record);

    Unit selectByPrimaryKey(String id);

    int checkName(String name);

    int updateByPrimaryKeySelective(Unit record);

    int updateByPrimaryKey(Unit record);

    List<Map<String,Object>> selectByUnit(Unit unit);

    int deleteByIds(String [] arr);
}